package org.neuedu.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author lzw
 * @since 2024-11-26
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("inspection_request")
public class InspectionRequest implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 挂号id
     */
    private Integer registerId;

    /**
     * åŒ»æŠ€é¡¹ç›®id
     */
    private Integer medicalTechnologyId;

    /**
     * 目的要求
     */
    private String inspectionInfo;

    /**
     * 检查部位
     */
    private String inspectionPosition;

    /**
     * 开立时间
     */
    private LocalDateTime creationTime;

    /**
     * 检验人员id
     */
    private Integer inspectionEmployeeId;

    /**
     * 结果录入人员id
     */
    private Integer inputinspectionEmployeeId;

    /**
     * 检验时间
     */
    private LocalDateTime inspectionTime;

    /**
     * 检验结果
     */
    private String inspectionResult;

    /**
     * 状态(已开立,已缴费,执行完成,已出结果,已退费,已作废)
     */
    private String inspectionState;

    /**
     * 备注
     */
    private String inspectionRemark;
    @TableField(exist = false)
    private MedicalTechnology medicalTechnology;

    @TableField(exist = false)
    private Register register;

    @TableField(exist = false)
    private String inspectionEmpName;
}
